package com.springboot.centersystem.dao;

import com.springboot.centersystem.entity.Food;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {
    List<Food> list();

    // 添加菜品信息
    int insertFood(Food food);

    void delete(int id);
    Food selectid(int id);
}